<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <div class="col-xs-12 col-sm-8">
            <input id="c-id" data-rule="required" class="form-control" name="row[id]" type="hidden" value="{$row.id}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-2">姓名:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[agency][real]" type="text"  readonly value="{$row.agency.realname}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-card" class="control-label col-xs-12 col-sm-2">身份证号:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-card" data-rule="required" class="form-control" name="row[agency][card]" type="number" readonly value="{$row.agency.card}">

        </div>
    </div>
    <div class="form-group">
        <label for="c-card_front_img" class="control-label col-xs-12 col-sm-2">身份证正面照:</label>
        <div class="col-xs-12 col-sm-8">
            <a href="javascript:void(0);" >
                <img src="{$row.agency.card_front_img}" alt="" style="max-width: 200px">
            </a>
        </div>
    </div>
    <div class="form-group">
        <label for="c-card_back_img" class="control-label col-xs-12 col-sm-2">身份证背面照:</label>
        <div class="col-xs-12 col-sm-8">
            <a href="javascript:void(0);" >
                <img src="{$row.agency.card_back_img}" alt="" style="max-width: 200px">
            </a>
        </div>
    </div>
    <div class="form-group">
        <label for="c-area" class="control-label col-xs-12 col-sm-2">代理地区:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-area" class="form-control" name="row[area]" type="text"  readonly value="{$row.area}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-account" class="control-label col-xs-12 col-sm-2">账户:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-account" class="form-control" name="row[agency][account]" type="text" readonly value="{$row.agency.account}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-phone" class="control-label col-xs-12 col-sm-2">手机号码:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-phone" class="form-control" name="row[phone]" type="number"  readonly value="{$row.phone}">
        </div>
    </div>
    <!--<div class="form-group layer-footer">-->
        <!--<label class="control-label col-xs-12 col-sm-2"></label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>-->
            <!--<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>-->
        <!--</div>-->
    <!--</div>-->
</form>
